using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class MessageInfo
    {
        #region Model
        private int _id = 0;
        private int _articleid = 0;
        private string _headimg = "";
        private int _userid = 0;
        private string _username = "";
        private string _message = "";
        private int _praise = 0;
        private bool _ispraise = false;

        public bool Ispraise
        {
            get { return _ispraise; }
            set { _ispraise = value; }
        }
        private DateTime _createdate = DateTime.Parse("2015-01-01 00:00:00");
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ArticleID
        {
            set { _articleid = value; }
            get { return _articleid; }
        }
        /// <summary>
        /// 头像
        /// </summary>
        public string HeadImg
        {
            set { _headimg = value; }
            get { return _headimg; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Message
        {
            set { _message = value; }
            get { return _message; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Praise
        {
            set { _praise = value; }
            get { return _praise; }
        }
        /// <summary>
        /// 留言时间
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        #endregion Model
    }
}

